<template>
  <div class="container">食物列表</div>
</template>
<script>
import { all_foods } from "@/api/foods";
export default {
  props: {},
  components: {},
  data() {
    return {};
  },
  methods: {
    getData_list() {
      all_foods().then((res) => {
        console.log(res);
      });
    },
  },
  mounted() {
    this.getData_list();
  },
  watch: {},
  computed: {},
  filters: {},
};
</script>
<style lang="scss" scoped></style>
